package handler

import (
	"github.com/lab-online/internal/class/domain"
	"github.com/lab-online/internal/class/interface/rest"
)

type Handler struct {
	domain domain.ClassDomain
}

func New(domain domain.ClassDomain) rest.ClassHandler {
	return &Handler{domain}
}
